7a1119b6eb3582098ed3af3cb3059edd31383493,src/hfk/game/substates/ExchangeSubState.java,ExchangeSubState,update,#GameController#GameContainer#StateBasedGame#number#,99
Before Change
} else if(in.isActionPressed(InputMap.A_EXCHANGE_DROP)){
// drop item
if(source.removeItem(selectedItem)){
ctrl.dropItem(selectedItem, invLeft.getParent(), true);
populateInventoryLists();
}
} else if(in.isActionPressed(InputMap.A_EXCHANGE_UNLOAD)){
After Change
} else if(in.isActionPressed(InputMap.A_EXCHANGE_DROP)){
// drop item
InventoryItem removed = source.removeItem(selectedItem);
if(removed != null) ctrl.dropItem(selectedItem, invLeft.getParent(), false);
populateInventoryLists();
} else if(in.isActionPressed(InputMap.A_EXCHANGE_UNLOAD)){
// unload weapon. put ammo in left inventory